package com.ourteam.product.requirement.domain;
/**
 * Template Name : 枚举对象模板 Template Version : 1 Template Last Modfiy Date : Fri Sep 07 11:43:21 CST
 * 2018 Auto Generate Date : 2018-12-11 15:24:52 Warning ! This file will be overwrite when
 * regenerate !
 */
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.lang.enums.Enum;

public class ProductElementTypeEnum extends Enum {

  private String desc;

  protected ProductElementTypeEnum(String arg0, String aDesc) {
    super(arg0);
    desc = aDesc;
    enumValueMap.put(arg0, this);
  }

  public String getDesc() {
    return desc;
  }

  private static Map<String, ProductElementTypeEnum> enumValueMap =
      new HashMap<String, ProductElementTypeEnum>();

  public static ProductElementTypeEnum getEnum(String arg0) {
    return (ProductElementTypeEnum) enumValueMap.get(arg0);
  }

  public static Collection<ProductElementTypeEnum> getEnumList() {
    return enumValueMap.values();
  }

  /** 产品需求 */
  public static final ProductElementTypeEnum PRODUCT_REQUIREMENT =
      new ProductElementTypeEnum("PRODUCT_REQUIREMENT", "产品需求");

  /** 产品特征 */
  public static final ProductElementTypeEnum PRODUCT_FEATURE =
      new ProductElementTypeEnum("PRODUCT_FEATURE", "产品特征");

  /** 产品术语 */
  public static final ProductElementTypeEnum PRODUCT_GLOSSARY =
      new ProductElementTypeEnum("PRODUCT_GLOSSARY", "产品术语");

  /** 产品定义 */
  public static final ProductElementTypeEnum PRODUCT_DEFINE =
      new ProductElementTypeEnum("PRODUCT_DEFINE", "产品定义");
}
